﻿namespace FiniteAutomaton
{
    using QuickGraph;

    public class LabeledEdge<TVertex, TLabel> : Edge<TVertex>
    {
        protected readonly TLabel label;
        public TLabel Label
        {
            get
            {
                return this.label;
            }
        }

        public LabeledEdge(TVertex source, TVertex target, TLabel label)
            : base (source, target)
        {
            this.label = label;
        }
    }
}
